package com.mbc.hr.entities;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name="HR_EmployeeEducation")
@NamedQueries({
	@NamedQuery(name="EmployeeEducation.findByEmployeeID",query="SELECT ee FROM EmployeeEducation ee WHERE ee.employeeID = :employeeID"),
	@NamedQuery(name="EmployeeEducation.deleteByEmployeeID",query="DELETE FROM EmployeeEducation ee WHERE ee.employeeID = :employeeID")
})
public class EmployeeEducation implements Serializable {
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private long educationalBackgroundID;
	private long employeeID;
	private Date fromDate;
	private Date toDate;
	private String country;
	private String state;
	private String university;
	private String qualification;
	private String specialisation;
	public long getEducationalBackgroundID() {
		return educationalBackgroundID;
	}
	public void setEducationalBackgroundID(long educationalBackgroundID) {
		this.educationalBackgroundID = educationalBackgroundID;
	}
	public long getEmployeeID() {
		return employeeID;
	}
	public void setEmployeeID(long employeeID) {
		this.employeeID = employeeID;
	}
	public Date getFromDate() {
		return fromDate;
	}
	public void setFromDate(Date fromDate) {
		this.fromDate = fromDate;
	}
	public Date getToDate() {
		return toDate;
	}
	public void setToDate(Date toDate) {
		this.toDate = toDate;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getUniversity() {
		return university;
	}
	public void setUniversity(String university) {
		this.university = university;
	}
	public String getQualification() {
		return qualification;
	}
	public void setQualification(String qualification) {
		this.qualification = qualification;
	}
	public String getSpecialisation() {
		return specialisation;
	}
	public void setSpecialisation(String specialisation) {
		this.specialisation = specialisation;
	}
}
